/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.RegularTask;
import com.thinkgem.jeesite.modules.sys.dao.RegularTaskDao;

/**
 * 定时任务Service
 * @author Dean
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class RegularTaskService extends CrudService<RegularTaskDao, RegularTask> {

	public RegularTask get(String id) {
		return super.get(id);
	}
	
	public List<RegularTask> findList(RegularTask regularTask) {
		return super.findList(regularTask);
	}
	
	public Page<RegularTask> findPage(Page<RegularTask> page, RegularTask regularTask) {
		return super.findPage(page, regularTask);
	}
	
	@Transactional(readOnly = false)
	public void save(RegularTask regularTask) {
		super.save(regularTask);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegularTask regularTask) {
		super.delete(regularTask);
	}
	
}